﻿using System;
using System.Collections.Generic;

namespace AspireFyh.ApiService.Entities;

public partial class Sensor
{
    public int Id { get; set; }

    /// <summary>
    /// 终端编码
    /// </summary>
    public string? SensorCode { get; set; }

    /// <summary>
    /// 终端名称
    /// </summary>
    public string? SensorName { get; set; }

    /// <summary>
    /// 终端序列号
    /// </summary>
    public string? SensorSn { get; set; }

    /// <summary>
    /// 网关ID
    /// </summary>
    public string? GatewayId { get; set; }

    /// <summary>
    /// 终端分类
    /// </summary>
    public string? SensorType { get; set; }

    /// <summary>
    /// 终端类型
    /// </summary>
    public string? SensorMode { get; set; }

    /// <summary>
    /// 终端主题
    /// </summary>
    public string? SensorTopic { get; set; }

    /// <summary>
    /// 终端订阅
    /// </summary>
    public string? SensorSubscribe { get; set; }

    /// <summary>
    /// 启用状态
    /// </summary>
    public int? Flag { get; set; }

    /// <summary>
    /// 使用状态
    /// </summary>
    public int? OnlineStatus { get; set; }
}
